package io.renren.modules.service.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import io.renren.modules.service.entity.ProductCodeEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author chenzh
 * @email ${email}
 * @date 2019-05-08 20:38:56
 */
@Mapper
public interface ProductCodeDao extends BaseMapper<ProductCodeEntity> {

    List<Map<String, Object>> queryPage(Map<String, Object> params, IPage<ProductCodeEntity> page);

    Map<String, Object> queryProductNameAndNumber();
}
